]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
userMenu: Add translation comments
authorAdel Gadllah <adel.gadllah@gmail.com>
Sun, 10 Mar 2013 23:37:52 +0000 (00:37 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Mon, 11 Mar 2013 09:35:42 +0000 (10:35 +0100)
Seems like "console" vs. "remote" in the "other users" dialog  confuses some
translators so add a comments to clarify their meaning.

https://bugzilla.gnome.org/show_bug.cgi?id=695601

js/ui/userMenu.js

index c6b60a6b2da347fea67e6265c09cd9609ca49c05..29d66944832a8d513388cce5da4cf6a9cac1f6d5 100644 (file)
@@ -917,8 +917,10 @@ const UserMenuButton = new Lang.Class({
                            session.user.get_real_name() : session.username;
 
             if (session.info.remote)
+                /* Translators: Remote here refers to a remote session, like a ssh login */
                 userLabelText = _("%s (remote)").format(userName);
             else if (session.info.type == "tty")
+                /* Translators: Console here refers to a tty like a VT console */
                 userLabelText = _("%s (console)").format(userName);
             else
                 userLabelText = userName;